import { createAction } from 'redux-actions';

const fetchData = createAction('fetchData');
const setAuthToken = createAction('setAuthToken');
const setTicket = createAction('setTicket');
const setUserInfo = createAction('setUserInfo');
const setVerifyCodeCountDown = createAction('setVerifyCodeCountDown');
const startVerifyCodeCountDown = createAction('startVerifyCodeCountDown');
const setInitialProps = createAction('setInitialProps');
const toggleErrorInfo = createAction('toggleErrorInfo');
const toggleLoading = createAction('toggleLoading');
const toggleOverlayContainer = createAction('toggleOverlayContainer');
const toggleLoginFailureDialog = createAction('toggleLoginFailureDialog');

export {
  fetchData,
  setAuthToken,
  setTicket,
  setUserInfo,
  setVerifyCodeCountDown,
  startVerifyCodeCountDown,
  setInitialProps,
  toggleErrorInfo,
  toggleLoading,
  toggleOverlayContainer,
  toggleLoginFailureDialog,
};
